package com.choosefine.springboot.devops.participate.dto;


import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * Created by dzq on 2017/1/7 0007.
 */
public class UpdateParticipateDTO {

    /**
     * 序号
     */
    @NotNull
    private Integer id;
    /**
     * 用户id
     */
    @NotNull
    private Integer userId ;
    /**
     * 活动id
     */
    @NotNull
    private Integer  activityId;
    private Date updateTime=new Date();
    /**
     * 状态：1有效，2失效
     */
    private Byte status;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getActivityId() {
        return activityId;
    }

    public void setActivityId(Integer activityId) {
        this.activityId = activityId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }
}
